package org.scheduler4j;

import java.util.Calendar;

public class InvalidDayException extends Scheduler4JException {

	private static final long serialVersionUID = 1L;

	private static final String ERROR_MESSAGE = "week should be "
			+ Calendar.SUNDAY + " to " + Calendar.SATURDAY;

	public InvalidDayException() {
		super(ERROR_MESSAGE);
	}

	public InvalidDayException(String message, Throwable cause) {
		super(ERROR_MESSAGE + message, cause);
	}

	public InvalidDayException(String message) {
		super(ERROR_MESSAGE + message);
	}

	public InvalidDayException(Throwable cause) {
		super(ERROR_MESSAGE, cause);
	}

}
